package com.zshan.clinic.database.dao;

import com.zshan.clinic.database.model.StockDrugProfile;
import com.zshan.clinic.database.model.StockDrugProfileExample;
import com.zshan.clinic.mybatis.SuperMapper;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface StockDrugProfileMapper extends SuperMapper {
    long countByExample(StockDrugProfileExample example);

    int deleteByExample(StockDrugProfileExample example);

    int deleteByPrimaryKey(Long drugId);

    int insert(StockDrugProfile row);

    int insertSelective(StockDrugProfile row);

    List<StockDrugProfile> selectByExample(StockDrugProfileExample example);

    StockDrugProfile selectByPrimaryKey(Long drugId);

    int updateByExampleSelective(@Param("row") StockDrugProfile row, @Param("example") StockDrugProfileExample example);

    int updateByExample(@Param("row") StockDrugProfile row, @Param("example") StockDrugProfileExample example);

    int updateByPrimaryKeySelective(StockDrugProfile row);

    int updateByPrimaryKey(StockDrugProfile row);
}